﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BussinesLogic
{
    public sealed class BussinesController
    {

        #region Implementación del Singleton
        private static volatile BussinesController instance;
        private static object syncRoot = new Object();

        private BussinesController() { }

        public static BussinesController Instance
        {
            get
            {
                if (instance == null)
                {
                    lock (syncRoot)
                    {
                        if (instance == null)
                            instance = new BussinesController();
                    }
                }

                return instance;
            }
        }
        #endregion
    }
}
